﻿using BaBaoFan.Modifier.Model;
using System;
using System.Collections.Generic;
using System.Text;

namespace BaBaoFan.Modifier.Data
{
    public interface IAlgorithmInfoRepository
    {
        AlgorithmInfoEntity GetById(int id);
        IEnumerable<AlgorithmInfo> GetByAlgorithm(int algorithmId);
        IEnumerable<AlgorithmInfo> GetByMillId(int millId);
        IEnumerable<AlgorithmInfo> GetAlgorithmInfos();
        bool Delete(int [] ids);
        bool Add(AlgorithmInfoEntity algorithmInfo);
        bool Update(AlgorithmInfoEntity algorithmInfo);
        IEnumerable<AlgorithmInfo> Search(AlgorithmInfoCondition infoCondition);
    }
}
